import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import '@/assets/fonts/iconfont.js'
import '@/assets/fonts1/iconfont.js'
import '@/assets/fonts2/iconfont.js'
import '@/assets/fonts3/iconfont.js'
import '@/assets/fonts4/iconfont.js'


//全局应用vant组件
import Vant from 'vant';
import 'vant/lib/index.css';
//全局引入element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
//自适应布局(移动端)
import './utils/rem'

import './assets/css/total.css'
//请求方式
import axios from './utils/request/http'

import lazyLoad from 'vue-lazyload'


// import "../public/font_zn7y70eweb/iconfont.css"

// import "../public/font_zn7y70eweb/iconfont.css"

//import "../public/font_zn7y70eweb/iconfont.css"


// import "../public/font_zn7y70eweb/iconfont.css"



//引入 阿里巴巴矢量图
import '../public/font_lhpdbf99eca/iconfont.css'
import '../public/font_hah743jp1p/iconfont.css'
import '../public/font/iconfont.css'

import "../public/font_p8wxq11haoi/iconfont.css"

import '../public/fontss/iconfont.css'

import "../public/font_p8wxq11haoi/iconfont.css"






//模拟mock数据
import './Mocks/mocks'
//引入echarts图
// import Echarts from 'echarts'

//引入rem适配
// import 'lib-flexible'
// import 'amfe-flexible'
import echarts from "echarts"
//制图工具

import servers from './utils/plugin/chaJia'
Vue.prototype.$echarts=echarts


Vue.use(lazyLoad, {
    loading: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1595419520743&di=ac66c055b376278610735734d8e065ca&imgtype=0&src=http%3A%2F%2Fimg.ui.cn%2Fdata%2Ffile%2F4%2F9%2F2%2F2108294.gif'
  })

Vue.use(Vant);
Vue.use(ElementUI);
Vue.prototype.$http = axios
// Vue.prototype.$echarts = Echarts
Vue.config.productionTip = false

Vue.prototype.$bus=new Vue();
Vue.use(servers)

const vm = new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')

export default vm